package com.example.museum.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("payment_records")
public class PaymentRecord {
    
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Integer orderId;
    
    private BigDecimal paymentAmount;
    
    private String paymentMethod;
    
    private String transactionId;
    
    private String paymentStatus;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime paymentTime;
    
    private String remark;
}